<?php 	
	session_start();
	include("dbconnect.php");	
	$sql="select * from pageinfo where status = 1";
	$result=mysql_query($sql) or die("Can not query pageinfo in header");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"  />
<?
	while ($row = mysql_fetch_array($result))
	{
		if($row['name']=='page_description')
	?>
	<meta name="description" content="<?php echo $row['value']?>"/>
	<?
		if ($row['name'] == 'page_keyword') 	
	?>
			<meta name="keywords" content="<?php echo $row['value']?>" />
    <?  if ($row['name']== 'page_tittle') ?>
			<title><?php echo $row['value']?></title>
	<?
    }
  
?>  
 	<link rel='stylesheet' href='css/reset.css' />
    <link rel='stylesheet' href='css/960.css' />
    <link rel='stylesheet' href='css/style.css' />
	<link rel="stylesheet" href="css/floom.css" type="text/css" media="screen" charset="utf-8" />

    <script type="text/javascript" charset="utf-8" src="js/mootools-core-1.3-full-nocompat.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/mootools-more.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/floom.js"></script> 

    <!--[if lte IE 7]>
     <link href="css/ie.css" type="text/css" rel="stylesheet" />
<![endif]-->

<script type="text/javascript" charset="utf-8">	
	
		window.addEvent('domready', function(e){
			
			// option 1		
			var slides = [
				{				
					image: '1.jpg',
					caption: 'Học sinh tan trường'
				},
				{
					image: '2.jpg',
					caption: 'Toàn cảnh sân trường'
				},
				{
					image: '3.jpg',
					caption: 'Toàn cảnh sân trường'
				},
				{
					image: '4.jpg',
					caption: 'Dãy phòng học trong trường'
				},
				{
					image: '5.jpg',
					caption: 'Toàn cảnh phía trước cổng trường'
				}
			];
			
			// option 2
			// var slides = $$('#blinds img');
			$('blinds').floom(slides, {
				slidesBase: 'img/slides/',
				sliceFxIn: {
					left: [20, 0]
				}
			});
			
		});
	</script>

</head>

<body>
	<div class="container_12">
    	<div id="banner" class="grid_12 round-corner">
<!--        	<a href="http://thptnamsach.edu.vn"><img src="img/banner/banner4.png" alt="THPT Nam Sách" /></a> -->
        <!--
        	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1004" height="140">
		    <param name="movie" value="http://thptnamsach.edu.vn/view/images/ecommerce/banner.swf">
		    <param name="quality" value="high">
		    <param name="wmode" value="transparent">
		    <param name="allowfullscreen" value="true">
		    <embed src="http://thptnamsach.edu.vn/view/images/ecommerce/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1004" height="140" wmode="transparent" allowfullscreen="true">
		</object>
        -->
        </div> 
        <div class="clear"></div>
		
        <div id="blinds-cont">
			<div id="blinds">
			</div>
		</div>
      